<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            margin: 0;
            padding: 0;
            list-style: none;
        }
        div{
            width: 300px;
            height: 300px;
            border: 1px solid black;
            margin: 100px auto;
        }
        input{
            width: 100px;
            height: 30px;
            float: left;
            border: none;
        }
        li{
            width: 300px;
            height: 270px;
            background: gray;
            display:none;
            font-size: 100px;
            color: white;
            text-align: center;
            line-height: 270px;
        }
        section{
            overflow: hidden;
        }
        .show{
            display: block;
        }
        .active{
            background: fuchsia;
            color: white;
        }
        button{
            width: 50px;
            height: 30px;
        }
    </style>
     <script src="bundle.js" charset="utf-8"></script>
</head>

<body>
<div class="box" id="box1">
    <section class="btn">
        <input type="button" value="按钮一" class="active">
        <input type="button" value="按钮二">
        <input type="button" value="按钮三">
    </section>

    <ul>
        <li class="show">1</li>
        <li>2</li>
        <li>3</li>
    </ul>
</div>

<div class="box" id="box2">
    <section class="btn">
        <input type="button" value="按钮一" class="active">
        <input type="button" value="按钮二">
        <input type="button" value="按钮三">
    </section>

    <ul>
        <li class="show">1</li>
        <li>2</li>
        <li>3</li>
    </ul>
</div>

<div class="box" id="box3">
    <section class="btn">
        <input type="button" value="按钮一" class="active">
        <input type="button" value="按钮二">
        <input type="button" value="按钮三">
    </section>

    <ul>
        <li class="show">1</li>
        <li>2</li>
        <li>3</li>
    </ul>
    <button id="left"><</button>
    <button id="right">></button>

</div>
</body>
</html>
